﻿using System;
using System.ServiceModel;
using System.Threading;

namespace Rigsby.EventBasedWcfAsyncOperation
{
	public class MyService : IMyService
	{
		public double GetSquareRoot(double value)
		{
			Thread.Sleep(4000); // Wait 4 seconds
			return Math.Sqrt(value);
		}
	}
}
